home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / pc_board / pcbudc10.zip / PCBTEST.BAT < prev    next >
DOS Batch File  |  1992-11-09  |  1KB  |  31 lines

  1. REM     Other checker etc. above this line.
  2.  
  3. REM     Check to see if file is already flagged as bad, if so skip
  4. IF EXIST PCBFAIL.TXT GOTO SKIPUPDC
  5.  
  6. REM     Display PCBUPDC.TXT to the caller.
  7. OUTCOMM.EXE %PCBDRIVE%%PCBDIR% D:\CAMS-CRC\PCBUPDC.TXT
  8.  
  9. REM     Now let's check the exec file dates in the upload!
  10. PCBUPDC %1 C:\PCB\PCBUPDC.CFG
  11.  
  12. REM     Check for log, display to caller if found.  If it does not exist
  13. REM     then either bad .ZIP or upload was NOT a .ZIP file.
  14. IF EXIST PCBUPDC.LOG GOTO DISPLOG
  15. GOTO SKIPUPDC
  16.  
  17. REM     Display the PCBUPDC.LOG file so the user can see results
  18. :DISPLOG
  19. OUTCOMM.EXE %PCBDRIVE%%PCBDIR% PCBUPDC.LOG
  20.  
  21. REM     Now Copy+ the PCBUPDC.LOG to a permanent file
  22. REM     This keeps a complete log of activity
  23. COPY C:\PCB\PUPDC%PCBNODE%+PCBUPDC.LOG C:\PCB\PUPDC%PCBNODE%.LOG
  24.  
  25. REM     This line and the following 2 lines may be deleted if you wish
  26. REM     since the file is overwritten if it exists on the next upload
  27. DEL PCBUPDC.LOG
  28.  
  29. :SKIPPCBUP
  30. echo The End!
  31.